       <div class="content_NoiDung"> 
            <div class="content_Khung"> 
            <h2 class="TieuDe TieuDe_ChiTiet"><?php echo $this->lang->line('CT_DH_ChiTetDonHang') ;?> </h2>           
                <div class="Khung_ChiTiet">
                	<h4><?php echo $this->lang->line('CT_TD_DonHang') ;?></h4>
						<?php if(!empty($TK_DDH)){ ?>
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_MaDonHang') ;?>    : </a> <a><?php echo "DH".$TK_DDH['MaDDH']; ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_NgayDatHang') ;?>    : </a> <a><?php echo $TK_DDH['NgayDatHang']; ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_DiaChi') ;?>    : </a> <a><?php echo $TK_DDH['DiaChi']; ?> </a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_NguoiNhan') ;?>    : </a> <a><?php echo $TK_DDH['NguoiNhan']; ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_TongTien') ;?>    : </a> <a><?php echo DoiTien($language,$TK_DDH['TriGia']) ; ?></a> </div>
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_Mail') ;?>    : </a> <a><?php echo $TK_DDH['Email']; ?></a> </div>
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_GuiHang') ;?>    : </a> <a><?php if($TK_DDH['TinhTrang']==1)echo $this->lang->line('CT_DH_Roi'); else echo $this->lang->line('CT_DH_Chua'); ?></a> </div>
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_ThanhToan') ;?>    : </a> <a><?php if($TK_DDH['thanhtoan']==1)echo $this->lang->line('CT_DH_Roi'); else echo $this->lang->line('CT_DH_Chua'); ?></a> </div>
                             
                        <?php }?>
                    <h4><?php echo $this->lang->line('CT_TD_ThongTinThanToan') ;?></h4>
                         <?php if(!empty($TK_TTTT)){ ?>
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_MaGiaoDich') ;?>    : </a> <a><?php echo $TK_TTTT['MaGiaoDich']; ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_NgayThanhToan') ;?>    : </a> <a><?php echo $TK_TTTT['NgayThanhToan']; ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_Mail1') ;?>    : </a> <a><?php echo $TK_TTTT['Email']; ?> </a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_TienThanhToan') ;?>    : </a> <a><?php echo DoiTien($language,$TK_TTTT['TriGia']*$TK_TTTT['TiGia'] );  ?></a> </div>  
                             <div class="ThongTin"> <a><?php echo $this->lang->line('CT_DH_TiGia') ;?>    : </a> <a><?php echo DoiTien("vi",$TK_TTTT['TiGia']) ;  ?></a> </div>  
                        <?php }?>
                    <h4><?php echo $this->lang->line('CT_TD_SanPhamMua') ;?></h4> 
                    <table class="gridtable">
                        <tr>
                            <th><?php echo $this->lang->line('stt') ;?></th>                        
                            <th><?php echo $this->lang->line('tenSP') ;?></th>
                            <th><?php echo $this->lang->line('soluong') ;?></th>
                            <th><?php echo $this->lang->line('gia') ;?></th>
                            <th><?php echo $this->lang->line('thanhtien') ;?></th> 
                        </tr>  
                        <?php $i = 1; $tong=0; ?> 
                        <?php foreach ($TK_CT_DDH as $items): ?>  
                            <tr>
                                <th><?php echo $i; ?></th> 
                                <td><?php echo $items['TenSanPham']; ?></td> 
                                <td><?php echo $items['SoLuong']; ?></td> 
                                <td class="Gia"><?php echo DoiTien($language,$items['DonGia']);  ?> </td> 
                                <td class="Tong"><?php echo DoiTien($language,($items['DonGia']*$items['SoLuong']) ); ?> </td>  
                            <?php $i++; $tong = $tong + ($items['DonGia']*$items['SoLuong']); ?> 
                        <?php endforeach; ?>  
                        <tr>
                            <th> </th>
                            <td colspan="3"><?php echo $this->lang->line('tongtien') ;?>:</td> 
                            <td class="Tong"><?php echo DoiTien($language,$tong); ?> </td> 
                        </tr>
                    </table> 
                
                </div>
            </div> 
        </div> 
    </div>
</div>